package ntd.util.frame.wx.miniapp;

import cn.hutool.core.collection.ListUtil;
import lombok.Data;
import ntd.util.frame.wx.miniapp.bo.ConfigWxMa;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @author <a href="https://github.com/binarywang">Binary Wang</a>
 */
@Data
public class WxMaProperties {

    private List<ConfigWxMa> configs = new ArrayList<>();

    public WxMaProperties() {
        ConfigWxMa configWxMa = new ConfigWxMa();
        configWxMa.setAppid("wx5845c85b3dc08714");
        configWxMa.setSecret("7dfebf7dadba4dc1df11a8dc5f4912d3");
        configWxMa.setMsgDataFormat("JSON");
        configs.add(configWxMa);
    }
}
